package com.karrysong.blog_springboot.vo;

/**
 * @ClassName: CommentVo
 * @Author: KarrySong
 * @Date: 2022/8/6 14:38
 * @Description:
 */
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

@Data
public class CommentVo  {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private UserVo author;

    private String content;

    private List<CommentVo> childrens;

    private String createDate;

    private Integer level;

    private UserVo toUser;

    private Long parentId;

    private Long articleId;

    private Integer status;
}

